﻿namespace Hsenl.Network {
    public abstract class Connector : Service {
        public abstract bool IsConnecting { get; }
        public abstract bool IsConnected { get; }
        public abstract HTask<int> ConnectAsync();
        public abstract void Disconnect(int error);
    }
}